import 'package:get/get.dart';

class GroupMemberState {
  /// 群组ID
  final RxInt groupId = 0.obs;

  /// 群组名称
  final RxString groupName = ''.obs;

  /// 群组码
  final RxString groupCode = ''.obs;

  /// 成员列表
  final RxList<Map<String, dynamic>> memberList = <Map<String, dynamic>>[].obs;

  /// 是否加载中
  final RxBool isLoading = false.obs;

  /// 搜索关键词
  final RxString searchKeyword = ''.obs;

  /// 当前用户是否是群主
  final RxBool isCreator = false.obs;

  /// 是否处于编辑模式（显示删除按钮）
  final RxBool isEditMode = false.obs;
}
